<!--
 * @Description: 
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2023-11-06 17:18:08
 * @LastEditors: Seven
 * @LastEditTime: 2023-11-06 17:23:27
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        width: 300px;
        height: 100px;
        background: linear-gradient(90deg, #ffc700, #e91e1e 100%);
        animation: gradientChange 1s linear infinite;
      }
      @keyframes gradientChange {
        100% {
          background: linear-gradient(90deg, #e91e1e, #6f27b0 100%);
        }
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
